<html>
<head th:include="/views/mobile/partial/head"></head>
<link rel="stylesheet" type="text/css" href="../../css/flickity.css"
  th:href="@{/src/css/flickity.css}" />

<body>


    <!-- header -->
    <section th:replace="/views/mobile/partial/header(title='产品')"></section>
      
    <section th:replace="/views/mobile/partial/cover"></section>

    <div class="wrap-container">
      

      <div class="pd_productName">
        <span class="title" th:text="${productTag.product.name}">3D打印机</span>
      </div>

      <section th:replace="/views/mobile/partial/gallery"></section>

      <section th:replace="/views/mobile/partial/product_statistic_container"></section>

      <section th:replace="/views/mobile/partial/share"></section>
      
      <div class="pd_whereToGet" th:if="${productTag!=null}">
        <a  th:href="${'http://www.faxsun.com/shop'+productTag.product.url}"><span class="context">去哪里淘？</span></a>
      </div>

      <section th:replace="/views/mobile/partial/article_vertical_list"></section>

      <section th:replace="/views/mobile/partial/commentsContainer"></section>


     <section th:replace="/views/mobile/partial/leaveMsgHint"></section>

     <section th:replace="/views/mobile/partial/leaveMsgInputBox"></section>

    <section th:replace="/views/mobile/partial/toTop"></section>

     <section th:replace="/views/mobile/partial/footer"></section>

     <section style="display:none">
      <input type="hidden" id="product_id" th:value="${productTag.id}" />
    </section>


    </div>
    
    <!-- dilog model end -->
  <script th:replace="/views/mobile/partial/script"></script>

  <script type="text/javascript" src="../../js/third-party/flickity.pkgd.min.js" th:src="@{/src/js/third-party/flickity.pkgd.min.js}"></script>

  <script type="text/javascript">


 
  $(function(){

        set_cover_toggle();
        hideOrShowTotop(); 
        var $gallery = $('.gallery').flickity({
              imagesLoaded: true, 
              percentPosition: false,
              pageDots: false
        });
        initShareButton();
        showMsgHintBox();
        initExpandableArticleList();
        initCommentInput();
        
});
  </script>
</body>
</html>

